$OpenBSD: patch-qdbus_QDBusReply_cs,v 1.3 2015/01/22 22:06:39 zhuk Exp $
Fix build with Mono 3.12.
--- qdbus/QDBusReply.cs.orig	Sun Jun  2 01:29:59 2013
+++ qdbus/QDBusReply.cs	Fri Jan 23 04:03:08 2015
@@ -4,10 +4,12 @@ namespace Qyoto {
 	using System.Runtime.InteropServices;
 	using System.Collections.Generic; 
 
-	public class QDBusReply<T> {
+	class QDBusReplyFill {
 		[DllImport("qyoto", CharSet=CharSet.Ansi)]
-		private static extern void qyoto_qdbus_reply_fill(IntPtr msg, IntPtr error, IntPtr variant);
-		
+		public static extern void qyoto_qdbus_reply_fill(IntPtr msg, IntPtr error, IntPtr variant);
+	}
+
+	public class QDBusReply<T> {
 		public QDBusReply(QDBusMessage reply) {
 			m_error = new QDBusError(reply);
 
@@ -18,7 +20,7 @@ namespace Qyoto {
 				variant = QVariant.FromValue<T>(default(T));
 			}
 
-			qyoto_qdbus_reply_fill((IntPtr) GCHandle.Alloc(reply), (IntPtr) GCHandle.Alloc(m_error),
+			QDBusReplyFill.qyoto_qdbus_reply_fill((IntPtr)GCHandle.Alloc(reply), (IntPtr)GCHandle.Alloc(m_error),
 				(IntPtr) GCHandle.Alloc(variant));
 
 			if (!m_error.IsValid()) {
